<#if isLoading>
<assign dialog_title="Load Menu Layout">
<#elseif isSaving>
<assign dialog_title="Save Menu Layout">
<#elseif isApplying>
<assign dialog_title="Apply Menu Layout">
<#endif>

<+b_dialog dw=300 dialog_space=1 dialog_nogroup=1>

			<+b_box label="Layout Name" width=#bw>
				<center>
				<table border=0 cellspacing=0 cellpadding=0>
				<tr>
					<td><img height=2><br>Name</td>
					<td width=#ds></td>
					<td><input type=text name=layoutName width=220></td>
				</tr>
				</table>
				</center>
			<+e_box>
			<img height=#ds>
			<+b_box label="Available Layouts" width=#bw box_space=0>
				<input type=listbox name=layoutList ownerdraw=1 singlesel=1 width=#bw-3 height=259><br>
				<img width=#bw height=1 bgcolor=#colorFrame>
				<table cellpadding=#ds>
				<tr>
					<td width=#bw bgcolor=#colorToolbar align=center>
						<input type=button name=del toolbar=1 width=60 height=20 xpar=images/button_remove.png  grayxpar=images/button_remove.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar nofade=1 alt="Remove selected layout" ascent=20>
					</td>
				</tr>
				</table>
			<+e_box>
<+d_dialog>
	<#if isLoading>
		<input type=button name=doAction value="Load" width=#dbw height=#dbh bgcolor=#colorSelection textcolor=#colorSelectionText>
		<img width=#ds>
	<#elseif isSaving>
		<input type=button name=doAction value="Save" width=#dbw height=#dbh bgcolor=#colorSelection textcolor=#colorSelectionText>
		<img width=#ds>
	<#elseif isApplying>
		<input type=button name=doAction value="Apply" width=#dbw height=#dbh bgcolor=#colorSelection textcolor=#colorSelectionText>
		<img height=#ds>
	<#endif>			
	<input type=button name=cancel value="Cancel" width=#dbw height=#dbh>
<+e_dialog>	
				
